<script setup lang="ts">
import {
  NConfigProvider,
  NGlobalStyle,
  NLoadingBarProvider,
  NMessageProvider,
  NNotificationProvider,
  NThemeEditor,
  zhCN,
  dateZhCN,
} from "naive-ui";
import ThemeStyle from "./ThemeStyle.vue";
</script>

<template>
  <NConfigProvider :locale="zhCN" :date-locale="dateZhCN">
    <NThemeEditor>
      <NLoadingBarProvider>
        <NMessageProvider>
          <NNotificationProvider>
            <ThemeStyle />
            <router-view></router-view>
            <NGlobalStyle />
          </NNotificationProvider>
        </NMessageProvider>
      </NLoadingBarProvider>
    </NThemeEditor>
  </NConfigProvider>
</template>

<style></style>
